package cn.csb.service.impl;

import cn.csb.dao.PetMapper;
import cn.csb.domain.Pet;
import cn.csb.service.PetService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PetServiceImpl implements PetService {

    @Autowired
    private PetMapper mapper;

    @Override
    public List<Pet> findAll() {
        return mapper.findAll();
    }
}
